@import './reset';
body{
	background: #f5f8fa;
}
.top-bar{
	width: 100%;
	height: calculateRem(50px);
	background: #f5f8fa;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-sizing: border-box;
	padding: 0 calculateRem(10px);
	.bar-inner{
		height: calculateRem(38px);
		line-height: calculateRem(36px);
		box-sizing: border-box;
		/*border: 1px solid #c0c5c8;*/
		color: #2c3338;
		font-size: calculateRem(17px);
		border-radius: 3px;
		background: white;
		padding: 0 calculateRem(36px) 0 calculateRem(14px);
		border: 1px solid #818B91;
		margin-top: calculateRem(6px);
		position: relative;
		@include ell;
		&:after{
			content: '';
			position: absolute;
			display: inline-block;
			width: calculateRem(14px);
			height: calculateRem(14px);
			background: url(../images/goto_down@2x.png) no-repeat;
			background-size: 100%;
			right: calculateRem(18px);
			top: calculateRem(12px);


		};
	}
	

}
.container{
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background: #f5f8fa;
	padding: calculateRem(56px) calculateRem(10px) calculateRem(20px);
	
	.message-wrap{
		width: 100%;
		height: auto;
		overflow: hidden;
		.message{
			width: 100%;
			height: auto;
			padding-bottom: calculateRem(8px);
			.m-box{
				width: 100%;
				height: auto;
				background: #FFFFFF;
				border: 1px solid #EBEFF2;
				box-shadow: 0 0 8px 0 rgba(0,15,26,0.08);
				box-sizing: border-box;
				padding: calculateRem(22px) calculateRem(14px) calculateRem(18px);
				font-size: calculateRem(17px);
				color: #2C3338;
				letter-spacing: 0;
				line-height: calculateRem(25px);



			}
			.m-foot{
				width: 100%;
				height: calculateRem(18px);
				line-height: calculateRem(18px);
				margin-top: calculateRem(6px);
				padding: 0 calculateRem(12px);
				font-size: calculateRem(13px);
				box-sizing: border-box;
				color: #818B91;
				.f-l{
					width: 40%;
					height: calculateRem(18px);
					float: left;
				}
				.f-r{
					width: 60%;
					height: calculateRem(18px);
					float: right;
					text-align: right;
				}

			}

		}
	}
}


.select-product-mask{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.6);
	z-index: 100;
	display: none;
	.select-product-dialog{
		position: absolute;
		top: calculateRem(10px);
		left: calculateRem(10px);
		right: calculateRem(10px);
		height: auto;
		background: #F7F9FA;
		border-radius: 11px;
		box-sizing: border-box;
		padding: calculateRem(28px) calculateRem(8px) calculateRem(8px);
		overflow: hidden;
		>h2{
			width: 100%;
			font-size: calculateRem(22px);
			color: #000F1A;
			text-align: center;
			height: calculateRem(30px);
			line-height: calculateRem(30px);
			margin: 0;
		}
		.products-wrap{
			width: 100%;
			height: auto;
			margin-top: calculateRem(20px);
			box-sizing: border-box;
			padding: 0 calculateRem(8px);
			max-height: calculateRem(384px);
			overflow-y: auto;
			margin-bottom: calculateRem(20px); 
			.product{
				width: 100%;
				height: calculateRem(48px);
				line-height: calculateRem(47px);
				box-sizing: border-box;
				border-bottom: 1px solid #E1E7EB;
				font-size: calculateRem(17px);
				overflow: hidden;
				padding-right: calculateRem(30px);
				position: relative;
				@include ell;
				&:active{
					background: #fafafa;
				};
			}
			.active{
				
				&:after{
					content: '';
					display: inline-block;
					width: calculateRem(20px);
					height: calculateRem(20px);
					background: url(../images/checked@2x.png) no-repeat;
					background-size: 100%;
					position: absolute;
					right: 0;
					top: calculateRem(12px);
				};
			}
		}
		.close{
			display: inline-block;
			width: 100%;
			height: calculateRem(44px);
			line-height: calculateRem(42px);
			box-sizing: border-box;
			border: 1px solid #818B91;
			border-radius: calculateRem(5px);
			color: #EB1F10;
			font-size: calculateRem(20px);
			text-align: center;
			background: white;
			&:active{
				background: #fafafa;
			};
		}
	}
}

.noselect-product-mask{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.6);
	z-index: 100;
	display: none;
	.noselect-product-dialog{
		position: absolute;
		top: calculateRem(10px);
		left: calculateRem(10px);
		right: calculateRem(10px);
		height: auto;
		background: #F7F9FA;
		border-radius: 11px;
		box-sizing: border-box;
		padding: calculateRem(28px) calculateRem(8px) calculateRem(8px);
		overflow: hidden;
		>h2{
			width: 100%;
			font-size: calculateRem(22px);
			color: #000F1A;
			text-align: center;
			height: calculateRem(30px);
			line-height: calculateRem(30px);
			margin: 0;
		}
		>p{
			font-size: calculateRem(15px);
			color: #5C656B;
			letter-spacing: 0;
			line-height: calculateRem(21px);
			margin-top: calculateRem(50px);
			margin-bottom: calculateRem(69px);
			text-align: center;
			>span{
				&:before{
					content: '';
					display: inline-block;
					width: calculateRem(14px);
					height: calculateRem(14px);
					background: url(../images/info14grey@2x.png) no-repeat;
					background-size: 100%;
					vertical-align: -2px;
					margin-right: 4px;
				};
			}
		}
		.close{
			display: inline-block;
			width: 100%;
			height: calculateRem(44px);
			line-height: calculateRem(42px);
			box-sizing: border-box;
			border: 1px solid #818B91;
			border-radius: calculateRem(5px);
			color: #EB1F10;
			font-size: calculateRem(20px);
			text-align: center;
			background: white;
			&:active{
				background: #fafafa;
			};
		}
	}
}